package net.wds.study.dep.dao;


import net.wds.study.clazz.utils.PageModel;
import net.wds.study.dep.entity.Department;

import javax.persistence.criteria.CriteriaBuilder;

/**
 * Created by gf on 2020/9/17.
 */
public interface DepartmentDao {

    PageModel<Department> getPage(Integer statIndex,Integer pageSize,String depName,String depManger);

    boolean saveDep(Department department);

    boolean updateDep(Department department);

    boolean deleteDep(Integer id);
}
